package cn.yangsen.simplebeanmanager.bean.html;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamConverter;
import com.thoughtworks.xstream.converters.extended.ToAttributedValueConverter;

@XStreamAlias("label")
@XStreamConverter(value=ToAttributedValueConverter.class, strings={"content"})
@ToString
public class Label extends Element
{
	@Getter
	@Setter
	private String content;
	
	public Label()
	{
	}
	
	public Label(String content)
	{
		this.content = content;
	}
}
